/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com;

/**
 *
 * @author JSJSYS
 */

public class conpany {
    
  private int firstnum; 
  private int fangfa; 
  private int secondnum; 
  private int resultnum; 
  
    private double value;
    
    public void ac(){
        value=0;
    }
    
    public void add(double number){
        value +=number;
    }
    
    public void substract(double number){
        value -=number;
    }
    
    public void divide(double number){
        value /= number;
    }
    
    public void multiply(double number){
        value *= number;
    }
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
    }
    
}
